<?php
namespace entity;
use my\bq\entity\EntityTemplate;
class Style extends EntityTemplate{
private $style_id;
private $title;
private $subtitle;
private $pic;
private $pic_thumb;
private $hot_link;
private $creater;
private $create_time;
private $flag;
private $status;
private $order_no;
private $parent_id;
private $keyword;
private $desc;
	public function config(){
		$config = array();
		$config['name'] = 'ecm_style';
		$config['alias'] = 'style';
		$config['id'] = 'style_id';
		$config['columns'] = array('style_id','title','subtitle','pic','pic_thumb','hot_link','creater','create_time','flag','status','order_no','parent_id','keyword','`desc`');		
		$this->config = $config;
	}
	
	public function __get($var){
		if(isset($this->$var)) {
			return $this->$var;
		}else{
			return parent::output($var); 
		}
	}
	public function __set($var,$value){$this->$var = $value;}
}